package com.xyhy.core.base.repos;

import org.springframework.data.domain.Persistable;

import java.util.List;
import java.util.Optional;

@Deprecated
public interface CrudRepos<T extends Persistable<ID>, ID> {
  List<T> findAll();

  Optional<T> findById(ID id);

  T save(T data);

}
